#include "Simple_window.h"
#include "Graph.h"
#include "next_graph.h"

using namespace Graph_lib; 

int main()
{
   
	Simple_window win(Point(100, 100), 600, 600, "Ex_1");
	

	Smiley_in_hat ss1(Point(300,300),50);
	win.attach(ss1);
	win.wait_for_button();

    Frowney_in_hat ss2(Point(300,300),50);
    win.attach(ss2);
    win.detach(ss1);
	win.wait_for_button();
}	
